package org.dandsoft.blackbox;

/**
 * User: dvilyuzhanin
 * Date: 21.01.2009 16:09:50
 */
public class IntegerObjectIdGenerator implements ObjectIdGenerator {

    private int sequence = 100;

    public synchronized ObjectId generate() {
        return new IntegerObjectId(sequence++);
    }
}
